//引入mock模块
import Mock from 'mockjs';
// 把json数据导入,banner没有暴露却可以引入
import banner from './banner';
import floor from './floor';

//Mock对象有个mock属性，第一个参数请求地址，第二个请求数据
Mock.mock("/mock/banner",{code:200,data:banner});
Mock.mock("/mock/floor",{code:200,data:floor});